import 'package:flutter/material.dart';
import 'package:get/get.dart';

class ReturnButton extends StatelessWidget {
  // const ReturnButton({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return IconButton(
      icon: Icon(
        Icons.navigate_before_rounded,
        size: Theme.of(context).iconTheme.size,
        color: Theme.of(context).iconTheme.color,
      ),
      onPressed: () => Get.back(),
    );
  }
}
